home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ADA Programming Guide
/
ADA Programming Guide.iso
/
adatutor
/
cppwkbk
/
cppv2-12.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-30
|
253b
|
14 lines
#define HEADER "C++ Problem 2.1 by Rick Conn using Borland C++"
#include <stdio.h>
int fcppv21(float); // prototype with wrong arg type
void main(void)
{
int i;
printf("%s\n", HEADER);
i = fcppv21(2.0);
printf("I = %d\n", i);
}